<!DOCTYPE html>
<html lang="zh-Hans">
<head>
    @import "mate.html"
    <title>申请办税证明</title>
    <link rel="stylesheet" href="../assets/weui/lib/weui.min.css">
    <link rel="stylesheet" href="../assets/weui/css/jquery-weui.min.css">
    <link rel="stylesheet" href="../css/style.min.css">
</head>
<body>
<div class="padding-bottom">
    <div class="swiper-container" data-space-between='10' data-pagination='.swiper-pagination' data-autoplay="1000">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img src="../images/banner.png" alt="">
            </div>
        </div>
    </div>
    <form id="cert-form" action="">
        <div class="type-title thorough-title"><span>开具税收完税(费)证明</span></div>

        <div class="weui-cells weui-cells_form tax-form">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">起始日期</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" id="start-time" type="text" placeholder="请选择" readonly>
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">截止日期</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" id="end-time" type="text" placeholder="请选择" readonly>
                </div>
            </div>
        </div>


        <div class="weui-cells__title">收件地址填写</div>
        <div class="weui-cells weui-cells_form tax-form">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label for="address" class="weui-label">地址</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" id="address" type="text" placeholder="请选择" name="address" value="浙江省 宁波市" readonly>
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd">
                    <label class="weui-label">详细地址</label>
                </div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" placeholder="请输入详细地址">
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd">
                    <label class="weui-label">邮政编码</label>
                </div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" placeholder="请输入邮政编码">
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd">
                    <label class="weui-label">收件人</label>
                </div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" placeholder="请输入收件人">
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">收件手机</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" placeholder="请输入收件手机">
                </div>
            </div>
        </div>


        <div class="com-btn">
            <button id="button" type="button" class="weui-btn btn-default">申请邮寄</button>
        </div>

    </form>
</div>


@import "footer.html"
<script src="../assets/weui/js/city-picker.min.js" charset="utf-8"></script>
<script>
  $(function () {

    (function () {
      var ind=0;
      $("#start-time").calendar({
        multiple:true
        /*onChange:function (p,val) {
          ind++;
          var newVal=val[0].split('-'),minDate;
          minDate=newVal[0]+'-'+newVal[1]+'-'+newVal[2];
          console.log(minDate);
          if(ind===1 && $("#end-time").val().trim()===''){
            $("#end-time").calendar({minDate:minDate});
          }else {
            $("#end-time").val('').calendar("destroy").calendar({minDate:minDate});
          }
        }*/
      });
    })();


    $('#button').click(function () {
      
    });

    $("#address").cityPicker({
      title: "请选择省市区"
    });

  })
</script>
</body>
</html>